﻿using System.Collections.Generic;

namespace YaP.Library
{
    public class ChannelChildArguments : ChildArguments
    {
        public List<string> BanList;
        public bool ImOp;
        public string Key;
        public bool modeExternalMsg;
        public bool modeInvite;
        public bool modeModerated;
        public bool modeOnlySetTopic;
        public bool modePrivate;
        public bool modeSecret;
        private string nameField;
        public string[] opers;
        private string topicField;
        public int UserLimit;
        public string[] users;
        public string[] voiced;


        public ChannelChildArguments(string _nom)
        {
            nameField = _nom;
        }

        public string Name
        {
            get { return nameField.ToLower(); }
        }

        public string Topic
        {
            get { return topicField; }
            set { topicField = value; }
        }
    }
}